export const option = function () {
  return {
    refreshBtn: true,
    columnBtn: true,
    border: true,
    stripe: true,
    index: true,
    editBtn: true,
    delBtn: true,
    align: 'center',
    addBtn: true,
    menu: true,
    indexLabel: '序号',
    labelWidth: 140,
    column: [
      {
        label: '年份',
        prop: 'yearA',
        maxlength: 20,
        span: 12,
        rules: [
          {
            required: true,
            message: '请输入年份',
            trigger: 'blur'
          }
        ]
      },
      {
        label: '企业总资产(万元)',
        prop: 'totalAssetsA',
        precision: 4,
        type: 'number',
        span: 12,
        rules: [
          {
            required: true,
            message: '请输入企业总资产',
            trigger: 'blur'
          }
        ]
      },
      {
        label: '企业总负债(万元)',
        prop: 'totalLiabilitiesA',
        precision: 4,
        type: 'number',
        span: 12
      },
      {
        label: '流动资产(万元)',
        prop: 'currentAssetsA',
        precision: 4,
        type: 'number',
        span: 12
      },
      {
        label: '流动负债(万元)',
        prop: 'currentLiabilitiesA',
        precision: 4,
        type: 'number',
        span: 12
      },
      {
        label: '营业收入(万元)',
        prop: 'businessIncomeA',
        precision: 4,
        type: 'number',
        span: 12,
        rules: [
          {
            required: true,
            message: '请输入营业收入',
            trigger: 'blur'
          }
        ]
      },
      {
        label: '毛利润(万元)',
        prop: 'grossProfitA',
        precision: 4,
        type: 'number',
        span: 12
      },
      {
        label: '净利润(万元)',
        prop: 'netProfitA',
        precision: 4,
        type: 'number',
        span: 12
      }
    ]
  }
}
